{
    var imgbox = ["images/images/gs_1_03.png","images/images/bn-1.jpg","images/images/bn-2.jpg"]; // 图片地址
    var counter = 0;
    function run(){
        setInterval(cycle,1000);  //重复运行cycle函数，周期1000ms
    }
    function cycle(){
        counter++;
        if(counter == imgbox.length)
            counter = 0;
        document.getElementById("imgbox").src = imgbox[counter];
    }
}